@charset "utf-8";
@import "public.css";

$b:1px solid #e5e5e5;
$b1:1px solid #faa8cd;
$b2:1px solid #f2f2f2;
$c1:#fa4b9b;
$c2:#ff3893;

/* 字体 */
@font-face{font-family:miaicon;
    src:url(../font/miaicon.eot);
    src:url(../font/miaicon.eot) format("embedded-opentype"),
    url(../font/miaicon.woff2) format("woff2"),
    url(../font/miaicon.woff) format("woff"),
    url(../font/miaicon.ttf) format("truetype"),
    url(../font/miaicon.svg) format("svg");
}
i{
    font-weight:400;font-style:normal;
}
.mia-icon{
    font-family:miaicon;
    font-style:normal;
    font-weight:400;
    speak:none;
    display:inline-block;
    text-decoration:inherit;
    width:1em;
    text-align:center;
    font-variant:normal;
    text-transform:none;
    line-height:1em;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

.margin{
    width: 1100px;
    margin: 0 auto;
}

body{
    background: #f9f9f9;
}

#top{
    height: 29px;
    border-bottom: $b;
    background: #f2f2f2;
    .left{
        float: left;
        font: 12px/30px "";
        color: #666;
        i{
            color: $c2;
        }
    }
    .right{
        float: right;
        font: 12px/30px "";
        color: #666;
        span{
            padding-right: 20px;
        }
        em{
            color: #666;
            padding: 0 12px;
        }
        a{
            padding-right: 16px;
        }
    }
    a:hover{
        color: $c1;
    }
}

#header{
    color: #666;
    padding: 20px 0 25px 0;
    background: #fff;
    overflow: hidden;
    clear: both;
    .clear{
        overflow: hidden;
        clear: both;
    }
    .log{
        float: left;
        padding-top: 10px;
    }
    .header-r{
        float: right;
        padding-top: 22px;
        .st{
            float: left;
            width: 383px;
            height: 18px;
            border: 2px solid #fa4b9b;
            padding: 6px 0;
            text-indent: 10px;
            font-size: 12px;
        }
        .sb{
            float: right;
            width: 90px;
            height: 34px;
            border: none;
            text-align: center;
            color: #fff;
            font-size: 14px;
            cursor: pointer;
            background: $c1;
        }
        .sear{
            width: 384px;
            display: block;
//          visibility: hidden;
            position: absolute;
            top: 106px;
            border: $b2;
            z-index: 3;
            a{
                display: block;
                padding: 0 10px;
                height: 24px;
                line-height: 24px;
                font-size: 12px;
                background: #fff;
                color: #666;
            }
        }
        p.search-b{
            padding-top: 6px;
            width: 385px;
            height: 18px;
            overflow: hidden;
            a{
                padding: 0 12px;
                border-left: 1px solid #d7d7d7;
                font-size: 12px;
                margin-left: -2px;
                vertical-align: 2px;
                line-height: 1.2;
            }
            a:hover{
                color: $c1;
            }
            .t{
                color: $c1;
            }
        }
        .search{
            float: left;
        }
        .cart{
            float: left;
            margin: 0 30px 0 28px;
            .item{
                display: block;
                border: $b;
                padding: 0 0 0 35px;
                width: 107px;
                height: 32px;
                line-height: 32px;
                cursor: pointer;
                background-color: #fff;
                text-align: center;
                font-size: 14px;
                color: #4f4f4f;
            }
            a{
                position: relative;
            }
            span{
                position: absolute;
                top: -1px;
                left: -1px;
                width: 36px;
                height: 34px;
                line-height: 34px;
                background-color: $c2;
                color: #fff;
                font-size: 18px;
            }
        }
    }
}

#nav{
    z-index: 2;
    background: $c2;
    color: #666;
    position: relative;
    .navs{
        margin-left: 230px;
        height: 46px;
        line-height: 46px;
        li{
            float: left;
            font-size: 16px;
            color: #fff;
            a{
                color: #fff;
                display: block;
                padding: 0 30px;
                height: 46px;
            }
        }
        .active,a:hover{
            background: #ec0971;
        }
        .lists{
            display: none;
            top: 46px;
            left: 0;
            background-color: #fff;
            overflow: hidden;
            position: absolute;
            a{
                padding: 0 8px;
                color: #666;
            }
            a:hover{
                background: $c2;
            }
            span{
                display: block;
                margin-top: -1px;
                padding: 0 22px;
                border-top: 1px dashed #ddd;
            }
        }
        .guarantee{
            position: relative;
        }
        .guarantee:hover .lists{
            display: block;
        }
        .icon-angle-down{
            transition: transform .3s ease;
            position: absolute;
            top: 16px;
            margin-left: 66px;
        }
        .guarantee:hover .icon-angle-down{
            transform: rotate(-180deg);
        }
    }
    
    .menus{
        background-color: rgba(255,255,255,.95);
        position: absolute;
        top: -3px;
        .title{
            position: relative;
            z-index: 2;
            width: 230px;
            height: 52px;
            line-height: 52px;
            color: #fff;
            background-color: #f92a85;
            h3{
                padding-left: 22px;
                font-size: 16px;
            }
        }
        .dlist{
            position: relative;
            display: block;
            dl{
                box-sizing: border-box;
            }
            dl:hover{
                border-left: 3px solid $c1;
                .inner{
                    margin-left: -3px;
                }
            }
            dt{
                position: relative;
                padding: 0 12px;
            }
            .inner{
                padding: 9px 10px 10px 10px;
                border-top: 1px dashed #d1d1d1;
                margin-top: -1px;
            }
            p{
                min-height: 36px;
                height: auto!important;
                max-height: 36px;
                margin-top: 3px;
                width: 170px;
                font-size: 12px;
                overflow: hidden;
                a{
                    display: inline-block;
                    vertical-align: middle;
                    line-height: 1;
                    margin-right: 6px;
                }
                a:hover{
                    color: $c1;
                }
                i{
                    position: absolute;
                    top: 50%;
                    right: 8px;
                    margin-top: -8px;
                    font-size: 16px;
                    color: #d6d6d6;
                    font-weight: 400;
                }
            }
        }
        dt strong{
            display: block;
            width: 13em;
            white-space: nowrap;
            overflow: hidden;
            a{
                color: $c1;
            }
        }
    }
}

#banner{
    position: relative;
    height: 480px;
    .slide{
        width: 100%;
        height: 100%;
        position: relative;
    }
    li{
        width: 1920px;
        height: 480px;
        position: absolute;
        margin-left: -960px;
        left: 50%;
        opacity: 0;
    }
    .sbtn{
        position: absolute;
        bottom: 15px;
        left: 50%;
        margin-left: -550px;
        width: 1100px;
        text-align: right;
        z-index: 10;
        span{
            border-radius: 20px;
            display: inline-block;
            vertical-align: middle;
            background-color: rgba(255,255,255,.2);
            height: 16px;
            padding: 4px 9px;
            z-index: 6;
            line-height: 1;
            i{
                border-radius: 50%;
                display: inline-block;
                vertical-align: middle;
                margin: 0 3px;
                width: 10px;
                height: 10px;
                font-size: 0;
                line-height: 0;
                cursor: pointer;
                background-color: #fff;
            }
            i.cur{
                background: $c2;
            }
        }
    }
}

#pic{
    .pic-t{
        margin: 10px 0 0 240px;
        width: 860px;
        height: 105px;
        background: #fff;
        display: inline-block;
        vertical-align: middle;
        h3{
            padding: 0 27px;
            zoom: 1;
            font-size: 14px;
            color: #444;
            float: left;
            line-height: 50px;
            margin-top: 25px;
        }
        img{
            margin: 0 12px;
            width: 94px;
        }
        .brands{
            float: right;
            padding-top: 14px;
        }
    }
    .pic-b{
        margin-top: 10px;
    }
}

//标题样式继承
.reco{
    font-size: 24px;
    color: #222;
    span{
        margin-left: 18px;
        vertical-align: -1px;
        font-weight: 400;
        font-size: 18px;
        color: #999;
    }
}

.layout{
    margin-top: 20px;
}

#recommend{
    margin-top: 25px;
    height: 745px;
    .rec{
        @extend .reco;
    }
    .group{
        float: left;
        margin-right: -1px;
        width: 219px;
        border: 1px solid #e5e5e5;
        background-color: #fff;
        margin-top: -1px;
        .lay-t{
            width: 219px;
            height: 219px;
            .oimg{
                width: 219px;
                height: 219px;
            }
        }
        .lay-b{
            min-height: 45px;
            height: auto!important;
            position: relative;
            padding: 15px 15px 65px 15px;
            .tit{
                font: 12px/18px "";
                color: #222;
                font-weight: 700;
            }
            .tit:hover{
                color: $c2;
            }
            .desc{
                font-size: 12px;
                color: #555;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
            }
            .price{
                position: absolute;
                bottom: 13px;
            }
            .new{
                display: block;
                margin-bottom: 5px;
                color: #ff4a49;
                em{
                    font-size: 20px;
                }
            }
            .old{
                display: block;
                color: #555;
                text-decoration: none;
                em{
                    text-decoration: line-through;
                }
            }
            .buy{
                position: absolute;
                bottom: 10px;
                right: 15px;
            }
            .btn{
                background-color: #ff4a49;
                bottom: 30px;
                border-radius: 15px;
                position: absolute;
                right: 15px;
                padding: 0 15px;
                height: 28px;
                line-height: 28px;
                font-size: 12px;
                color: #fff;
            }
        }
    }
}

#spe{
    margin-top: 20px;
    h3{
        @extend .reco;
    }
    .block{
        margin-bottom: 15px;
        padding: 6px 0;
        border: $b;
        background-color: #fff;
        overflow: hidden;
        .bigpic{
            position: relative;
            float: left;
            margin-left: 6px;
            width: 750px;
            height: 350px;
            overflow: hidden;
        }
        .rank{
            float: right;
            padding: 0 18px;
            width: 306px;
            height: 350px;
            overflow: hidden;
            a{
                display: block;
                margin-top: -1px;
                padding: 19px 15px;
                border-top: 1px dashed #c4c4c4;
                cursor: pointer;
            }
            .l{
                position: relative;
                float: left;
                margin-right: 12px;
                width: 78px;
                height: 78px;
                border: 1px solid #efefef;
                overflow: hidden;
                img{
                    width: 100%;
                }
                i{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 45px;
                    height: 18px;
                    line-height: 18px;
                    background: url(../images/t2.png);
                }
                .r2{
                    background-position:0 -20px;
                }
                .r3{
                    background-position:0 -40px;
                }
                
            }
//          a:nth-of-type(1) i{
//              background-position:0 0;
//          }
//          a:nth-of-type(2) i{
//              background-position:0 -20px;
//          }
//          a:nth-of-type(3) i{
//              background-position:0 -40px;
//          }
            
            .r{
                display: block;
                overflow: hidden;
                font-size: 13px;
                .tit{
                    margin-top: 5px;
                    height: 38px;
                    overflow: hidden;
                }
                .tit:hover{
                    color: $c2;
                }
                .price{
                    margin-top: 15px;
                    line-height: 1;
                }
                .new{
                    color: $c2;
                    font-size: 18px;
                }
                .old{
                    color:#999;
                    font-size: 12px;
                    text-decoration: line-through;
                }
            }
        }
    }
}


#big{
    margin-top: 25px;
    .rec{
        @extend .reco;
    }
    .layout{
        margin-top: 20px;
        margin-bottom: 15px;
        padding: 6px 0 20px 0;
        border: $b;
        background-color: #fff;
        overflow: hidden;
        .title{
            overflow: hidden;
            padding: 19px;
        }
        .tit1{
            display: inline-block;
            float: left;
            font-size: 18px;
            color: #222;
            a:hover{
                color: $c2;
            }
            .img{
                display: inline-block;
                width: 76px;
                height: 76px;
                border: 2px solid #f4f4f4;
                border-radius: 8px;
                vertical-align: middle;
                margin-right: 10px;
                overflow: hidden;
                img{
                    max-width: 100%;
                    vertical-align: middle;
                }
            }
        }
        .tit2{
            float: right;
            color: $c2;
            height: 38px;
            border-radius: 38px;
            display: inline-block;
            padding: 0 20px;
            border: $b1;
            margin-top: 20px;
            font: 14px/38px "";
        }
        .block{
            padding-left: 20px;        
            .items{
                width: 196px;
                margin-right: 19px;
                float: left;
                .aimg{
                    width: 196px;
                    height: 196px;
                    position: relative;
                }
                img{
                    width: 100%;
                    vertical-align: top;
                }
                .free{
                    color: $c2;
                    border: $b1;
                    line-height: 24px;
                    border-radius: 24px;
                    background: #fff;
                    padding: 0 10px;
                    position: absolute;
                    bottom: 10px;
                    left: 39%;
                    opacity: 0.9;
                    display: inline-block;
                }
                .tit{
                    height: 48px;
                    line-height: 24px;
                    overflow: hidden;
                    color: #222;
                    font-size: 14px;
                }
                .new{
                    color: $c1;
                    font-size: 14px;
                    em{
                        font-weight: bold;
                        font-size: 20px;
                    }
                }
                .old{
                    color: #999;
                    font-size: 14px;
                    em{
                        text-decoration: line-through;
                    }
                }
            }
        }
    }
}

#footer{
    margin-top: 20px;
    border-top: $b;
    background: #fff;
    overflow: hidden;
    .one{
        padding: 20px 0 20px 60px;
        border-bottom: $b2;
        overflow: hidden;
        width: 1100px;
        box-sizing: border-box;
        a{
            float: left;
            width: 164px;
            color: #999;
            text-align: center;
            font: 12px/20px "";
            img{
                display: inline-block;
            }
            b{
                font-weight: 700;
                display: block;
                margin-top: 5px;
                font-size: 15px;
                color: #333;
            }
        }
    }
    .two{
        padding: 20px 0 0 82px;
        width: 1100px;
        padding-left: 30px;
        border-bottom: $b2;
        overflow: hidden;
        box-sizing: border-box;
        a:hover{
            color: $c2;
        }
        .two-l{
            float: left;
            overflow: hidden;
            color: #666;
            padding-left: 76px;
            ul{
                float: left;
                width: 132px;
                font: 14px/26px "";
            }
            .strong{
                font:700 14px/30px "";
                color: #333;
            }
            .contact{
                width: 200px;
            }
        }
        .two-r{
            float: right;
            padding-right: 50px;
            width: 185px;
            height: 165px;
            border-left: $b2;
            padding-left: 30px;
            p{
                font:700 14px/34px "";
            }
            .box{
                
            }
            .box-l{
                float: left;
            }
            .box-r{
                float: left;
                padding-left: 5px;
                a{
                    display: block;
                }
            }
        }
    }
    .three{
        text-align: center;
        vertical-align: middle;
        padding-bottom: 10px;
        .p1{
            color: #666;
            padding: 10px;
            a{
                font: 14px/32px "";
                padding: 0 10px;
            }
        }
        .p2{
            color: #979797;
            font: 12px/20px "";
            padding-bottom: 10px;
        }
        .p3{
            a{
                padding: 5px;
            }
        }
        a:hover{
            color: $c2;
        }
    }
}

#louti{
    width: 49px;
    position: fixed;
    right: 50%;
    margin-right: 570px;
    bottom: 150px;
    z-index: 5;
    display: none;
    ul{
        border-radius: 5px 5px 5px 5px;
        border: 1px solid #e6e6e6;
        background-color: #fff;
        text-align: center;
        font-size: 12px;
        li{
            padding: 4px;
            border-bottom: 1px solid #e6e6e6;
            cursor: pointer;
            position: relative;
            font-size: 14px;
            color: #666;
            i{
                position: absolute;
                top: 50%;
                left: 50%;
                margin: -5px 0 0 -6px;
                right: 0;
                width: 0;
                height: 0;
                border-left: 6px solid transparent;
                border-right: 6px solid transparent;
                border-bottom: 10px solid #fff;
            }
        }
        li:hover{
            color: $c1;
        }
        .top{
            background: $c1;
            padding: 15px 10px;
            border: none;
            border-radius: 0 0 5px 5px;
        }
    }
}

#list{
    width: 49px;
    position: fixed;
    bottom: 150px;
    left: 50%;
    margin-left: 570px;
    z-index: 5;
    ul{
        border-radius: 5px 5px 5px 5px;
        border: 1px solid #e6e6e6;
        background-color: #fff;
        text-align: center;
        font-size: 12px;
        li{
            padding: 6px 0 6px 0;
            border-bottom: 1px solid #e6e6e6;
            cursor: pointer;
            position: relative;
            font-size: 16px;
            
            a{
                font: 12px/20px "";
            }
            i{
                display: block;
                color: $c2;
                font-size: 18px;
                margin: 0 auto;
            }
        }
        li:hover a{
            color: $c2;
        }
        .last{
            border-bottom: none;
            position: relative;
        }
        img{
            position: absolute;
            width: 157px;
            height: 193px;
            right: 50px;
            bottom: 1px;
        }
    }
}

#advert{
    width: 100%;
    height: 120px;
    position: fixed;
    bottom: 0px;
    z-index: 5;
    background: rgba(0,0,0,.65);
    .adv{
        width: 1000px;
        height: 122px;
        margin: 0 auto;
background:url(https://img02.miyabaobei.com//d1/p5/2017/08/17/39/9b/399b0cd1c873d811d1d132622dd379bc497084204.jpg) center top no-repeat;
    }
    img{
        width: 68px;
        height: 68px;
        position: relative;
        bottom: 105px;
        left: 995px;
    }
    a{
        width: 26px;
        height: 26px;
        display: block;
        position: relative;
        bottom: 185px;
        left: 1100px;
        z-index: 10;
    }
}


